package connection.replies;

import interfaces.clients.dispatcher.replies.BaseReply;
import java.io.ObjectInputStream;

/** @author Mihail A. Muhin */
public class GetFileReply extends BaseReply {
  private String contents = null;

  public String getContents() {
    return contents;
  }

  public GetFileReply(String contents) {
    this.contents = contents;
  }

  public void read(ObjectInputStream ois) {
    try {
      contents = (String) (ois.readObject());
    } catch (Exception e) {

    }
  }

  public GetFileReply() {

  }
}
